library ieee;
use ieee.electrical_systems.all;
entity inductor is
generic(
	ind : real := 1.0e-9);
port(
	terminal p : electrical;
	terminal m : electrical
    );
end entity;

architecture simple of inductor is
	quantity v across i through p to m;
begin
	i == (1.0/ind) * v'integ;
end architecture simple;